package com.weiweiqin.service.impl;

import com.weiweiqin.dao.AccountDao;
import com.weiweiqin.model.Account;
import com.weiweiqin.service.AccountService;

public class AccountServiceImpl implements AccountService {

	private AccountDao accountDao;

	public AccountDao getAccountDao() {
		return accountDao;
	}

	public void setAccountDao(AccountDao accountDao) {
		this.accountDao = accountDao;
	}

	public void update(Account account) {
		accountDao.update(account);
	}

	public Account getByUsername(String username) {
		return accountDao.getByUsername(username);
	}

	

}